package com.authManager.web;

import com.authManager.web.controller.BaseController;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication

//@EnableEurekaClient
@EnableHystrix
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.authManager.commons.feignApi.hystric","com.authManager.commons.feignApi"})
@ComponentScan(basePackages = {"com.authManager.web","com.authManager.commons.feignApi"})
public class AuthManagerWebApplication extends BaseController {

	public static void main(String[] args) {
		SpringApplication.run(AuthManagerWebApplication.class, args);
	}

}
